home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d19
/
ckzp101.arc
/
CHECKZIP.DOC
< prev
next >
Wrap
Text File
|
1991-01-26
|
9KB
|
177 lines
============================================================================
CHECKZIP.DOC : Lewis Huang, Singapore : CHECKZIP v1.01 9th January 1991
============================================================================
What is CheckZip and what does it do?
-------------------------------------
CheckZip is a shell for extracting, virus testing, and re-archiving to/from
any archive format. CheckZip will examine entire subdirectory, test/extract
all archives matching the file extension mask (ie ZIP), including nested
archives, and recursively scan all subdirectories for viruses. It can then
optionally re-archive the files to any archive format.
The beauty of CheckZip is it's flexibility. This flexibility is built into
CheckZip by using an configuration file for specifying the file extension
mask (ie ZIP), the name of the extractor (ie PKUNZIP), the name of the virus
scanner (ie SCAN), the name of the archiver (ie PKZIP). For each program you
are able to specify the parameters you want. CheckZip will also optionally
shell to a batch file before re-archiving takes place to perform other
functions (ie add/ delete/sort files).
In addition to all this CheckZip is intelligent enough not to check archives
that it has already tested by it's ability to timestamp archives. It will
also move corrupted or virus infected archives to a separate subdirectory.
The files that come in this package:
------------------------------------
CHECKZIP.EXE - The program
CHECKZIP.CFG - The sample configuration file
CHECKZIP.DOC - This documentation
HINTS.BBS - Hints for bbs SysOps
PCB-SiG.COM - The bbs advertisement
How to configure CheckZip:
--------------------------
The sample CFG file looks like this:-
ZIP ; file extension mask
C:\ZIP\PKUNZIP.EXE ; full path & program name of extraction program
-d *.exe *.com *.ovl ; extraction program switches
C:\ZIP\PKZIP.EXE ; full path & program name of archiver program
-r -p -o ; archiver program switches
C:\ZIP\SCAN.EXE ; full path & program name of virus scanner
/nomem ; virus scanner switches
C:\ZIP\CKZIP.BAT ; full path & batch file name
C:\ZIP\CHECKZIP.LOG ; full path & name name of log file
C:\BADFILES ; bad files directory
hh:mm:ss ; time stamp
Line 1 : This tells CheckZip which archive format to extract. The filename
extension mask (ie ZIP ARC LZH etc) must be compatible with the
archive extractor used in Line 2. Only 1 extension mask permitted.
Line 2 : This tells CheckZip which program to use for extracting archives
and where to find it. The full Drive:\Path\Filename.Ext must be used.
Line 3 : This tells CheckZip which switches to use for the archive extractor
used in Line 2. Only the extractor programs internal optional
switches should be included here. This line MUST NOT include the
subdirectory or file name to process.
Wildcard file selection may be used so that only those files tested
by the virus scanner are extracted. Wildcards will speed up the
extraction process but WARNING: Do NOT use the rezipping function,
as only those files extracted will be rezipped. If Wildcard file
extraction is used Lines 4 & 5 MUST be left blank.
Line 4 : This tells CheckZip which program to use for archiving the files
and where to find it. The full Drive:\Path\Filename.Ext must be used.
The re-archiving of files is optional. If you do not wish to perform
any re-archiving, leave this line and Line 5 blank.
Line 5 : This tells CheckZip which switches to use for the archive program
used in Line 4. Only the archiver programs internal optional switches
should be included here. This line MUST NOT include the subdirectory
or file name to process.
Line 6 : This tells CheckZip which program to use for virus scanning and where
to find it. The full Drive:\Path\Filename.Ext must be used. The virus
scanning is optional. If you do not wish to perform any virus scan,
leave this line and Line 7 blank.
Line 7 : This tells CheckZip which switches to use for the virus scanner. Only
virus scanner's internal optional switches should be included here.
This line MUST NOT include the drive, subdirectory or file name to
process.
Line 8 : This tells CheckZip the name of the batch file to process before re-
archiving the file under testing. The full Drive:\Path\Filename.Ext
must be used. The batch file is optional. If you do not wish to shell
to this batch file, leave this line blank.
Checkzip will pass all it's command line parameters to the batch file
that are entered as parameters to CheckZip (see below).
Line 9 : This tells CheckZip the name of the LOG file and where to find it.
The full Drive:\Path\Filename.Ext must be used. The LOG file will
record the time, date, filename and test results. The LOG file is
optional. If you do not wish to have a record of CheckZip's activity
leave this line blank.
Line 10: This tells CheckZip where to move corrupted or infected archives.
This must be a valid subdirectory. CheckZip WILL NOT create it. This
moving of bad files is optional. If you do not want to examine bad
archives, leave this line blank and the bad files will be deleted.
Line 11: This tells CheckZip the timestamp to place on tested archives. The
timestamp is optional. If you do not wish to mark the file as having
passed the CheckZip tests, leave this line blank. Some examples of
the syntax are:-
08:08:04 = 8am 8 minutes 4 seconds
:16:10 = leave hours alone and change mins/secs to
16 minutes 10 seconds
::14 = leave hours/mins alone and change secs to
14 seconds
The last example (::ss) is particularly useful because the seconds
are not displayed by dos and therefore provide a 'hidden' record of
the file having passed the CheckZip tests. Please note that there
is a Dos limitation that seconds must be an EVEN number between 00
and 60 seconds.
CheckZip in Use:
----------------
CheckZip requires DOS 3.x and above to operate. You will also need a virus
scanning program (ie McAfee's VIRUSCAN) and archive utilities (ie PKWare's
PKUNZIP/PKZIP)
To run CheckZip, place CHECKZIP.EXE & CHECKZIP.CFG in the same subdirectory
located in your dos PATH statement and type at the dos prompt
CHECKZIP Drive:\Path\Subdir
where the Drive:\Path\Subdir is the name of the subdirectory in which the
archives to test are residing. The Drive: is optional. CheckZip will use
the default drive if none is specified. The \Path\Subdir is NOT optional
and MUST always be present as the first parameter after CHECKZIP.
You may include additional parameters after the Drive:\Path\Subdir. These
are NOT used by CheckZip but are passed as parameters directly to the batch
file. All the CheckZip parameters are passed to the batch file in the same
order as they appear when running CHECKZIP, including the Drive:\Path\Subdir.
This is useful when running CheckZip from a batch file (ie ProDoor PROUTEST.
BAT or PCBoard's PCBTEST.BAT) which has parameters you wish to pass on to
your batch file (ie Drive:\path\filename or comm port).
Testing of files should always be performed in a subdirectory.
The CHECKZIP.CFG file MUST reside in the same subdirectory as CHECKZIP.EXE
Copyright & Registration
------------------------
Phew! There is none! The name CheckZip, the program, the configuration file
structures and this documentation are all hereby donated to the Public Domain.
All I ask is you give PCB-SiG BBS a call on Singapore (65) 734 9519 and record
your gratitude to Lewis Huang.
Disclaimer
----------
CheckZip is offered on an 'AS IS' basis and the author assumes no responsib-
ility for any damage to your machine or loss of data incurred while using
CheckZip and disclaims all warranties, express or implied, as to the fitness
for any particular purpose.
============================================================================
Have fun.... Stewart PCB-SiG BBS
(65) 734 9519
9th January 1991